package com.Hsu.book.adapter;

/**
 * @author Hsu琛君珩
 * @ClassName:Slf4jLog4jAdapter
 * @date 2024-01-13
 * @apiNote
 * @Version: v1.0
 */

public class Slf4jLog4jAdapter implements Slf4jApi{
    private Log4j log4j;

    public Slf4jLog4jAdapter(Log4j log4j){
        this.log4j=log4j;
    }

    @Override
    public void log(String message) {
        log4j.log(message);
    }
}
